package edu.dali.enterprise_test.service.auth;

import edu.dali.enterprise_test.model.Pager;
import edu.dali.enterprise_test.model.vo.Dto;
import edu.dali.enterprise_test.model.vo.SysPermission;

public interface PermissionService {

    public Pager<SysPermission> getPermissions(Dto dto);

    public void insertPermission(SysPermission permission);

    public void updatePermission(SysPermission permission);

    public void deletePermission(Long id);

    public SysPermission selectPerm(Dto dto);
}
